import request from '@/utils/request'

// 查询工资统计列表
export function listStatistics1(query) {
  return request({
    url: '/money/statistics1/list',
    method: 'get',
    params: query
  })
}

// 查询工资统计详细
export function getStatistics1(salaryId) {
  return request({
    url: '/money/statistics1/' + salaryId,
    method: 'get'
  })
}

// 新增工资统计
export function addStatistics1(data) {
  return request({
    url: '/money/statistics1',
    method: 'post',
    data: data
  })
}

// 修改工资统计
export function updateStatistics1(data) {
  return request({
    url: '/money/statistics1',
    method: 'put',
    data: data
  })
}

// 删除工资统计
export function delStatistics1(salaryId) {
  return request({
    url: '/money/statistics1/' + salaryId,
    method: 'delete'
  })
}
